package tw.com.softleader.fire.setting.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import tw.com.softleader.fire.common.entity.GenericEntity;

@Entity
@Table(name = "SET_TREATY")
public class TreatyEntity extends GenericEntity {
	
	@Column(name="UWTY", length=10)
	private String uwty;
	
	@Column(name="NATG", length=10)
	private String natg;
	
	@Column(name="NAME", length=100)
	private String name;
	
	@Override
	public String toString() {
		return "TreatyEntity [uwty=" + uwty + ", natg=" + natg
		+ ", id=" + id 
		+ ", createTime=" + createTime + ", creator=" + creator 
		+ ", modifiedTime=" + modifiedTime + ", modifier="+ modifier + "]";
	}

	public String getUwty() {
		return uwty;
	}

	public void setUwty(String uwty) {
		this.uwty = uwty;
	}

	public String getNatg() {
		return natg;
	}

	public void setNatg(String natg) {
		this.natg = natg;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
	
}
